package per.mnxc.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author mnxc
 * @since 2022-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_lunch")
public class Lunch implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 发帖id
     */
    @TableId(value = "LunchID", type = IdType.AUTO)
    private Long lunchId;

    /**
     * 发帖类型
     */
    @TableField("LunchType")
    private String lunchType;

    /**
     * 发帖时间
     */
    @TableField("LunchTIme")
    private LocalDateTime lunchtime;

    /**
     * 发帖内容
     */
    @TableField("LunchCont")
    private String lunchCont;

    /**
     * 发帖标签
     */
    @TableField("LunchLabel")
    private String lunchLabel;

    /**
     * 用户id
     */
    @TableField("UserID")
    private Long userid;

    /**
     * 帖子是否可见
     */
    @TableField("isVisible")
    private Boolean isVisible;


}
